package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProjectPlan;
import com.zzyl.entity.ProjectPlans;
import com.zzyl.vo.NursingProjectPlanVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingProjectPlanMapper {
    Page<NursingProjectPlan> selectByPage(String planName, Integer status);
    void addNursingProjectPlan(NursingProjectPlan bean);


    void deleteNursingProject(Long id);

    NursingProjectPlanVo getById(Long id);

    void upDateNursingProject(NursingProjectPlan toBean);

    void updateStatus(Long id, Integer status);


    List<NursingProjectPlanVo> getAll();
}
